package com.xxxx.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xxxx.server.pojo.Sback;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

/**
 * <p>
 * 学生返校申请 Mapper 接口
 * </p>
 *
 * @author zhoubin
 * @since 2022-06-02
 */
public interface SbackMapper extends BaseMapper<Sback> {

    List<Sback> getSbackBySBid(@Param("id") Integer id);

    IPage<Sback> getSbackByPage(Page<Sback> page, @Param("sback") Sback sback,
                                @Param("beginDateScope") String[] beginDateScope);

    List<Sback> getSback(Integer id);

}
